how to find index of element in string array in java